package com.huilian.iotbox.admin.wap.service.impl;

import com.huilian.iotbox.admin.wap.dao.AgencyDao;
import com.huilian.iotbox.admin.wap.service.AgencyService;
import com.huilian.iotbox.data.po.Agency;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class AgencyServiceImpl implements AgencyService {

    @Autowired
    private AgencyDao agencyDao;

    @Override
    public Agency findOneAgencyById(Integer agencyId) {
        return agencyDao.findOneAgencyById(agencyId);
    }
}
